package com.dingreading.cloud.admin.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类。
 *
 * @author Administrator
 * @since 2024-02-26
 */
@Data
@Table(value = "subject_lesson_apply")
public class SubjectLessonApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private Long id;

    private String addStaffName;

    private String addStaffUid;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(onInsertValue = "now()")
    private Date addTime;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(onInsertValue = "now()", onUpdateValue = "now()")
    private Date editTime;

    private String dataUrl;

    private String htmlUrl;

    private String lastStaffName;

    private String lastStaffUid;

    private Long lessonId;

    private String lessonName;

    private String levelName;

    private Integer status;

    private String subjectDescribe;

    private String teachPlanUrl;

    private String origLessonName;

    private Long subjectId;

    private Long subjectMainId;

    private String backDataUrl;

    private String backHtmlUrl;

    private String backTeachPlanUrl;

    private String checkStaffName;

    private String checkStaffUid;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date checkTime;

}
